package com.wxy.ej.flow.modules.act.dto;

import com.rt.easyjava.common.utils.others.DateTool;
import lombok.Data;

import java.util.Date;

@Data
public class ModelDto {

    private String id;

    private String bpmn_xml;

    private String json_xml;

    private String svg_xml;

    private String name;

    private String description;

    private String key;
    private String category;
    private String deploymentId;
    private Date createTime;
    private String createTimeStr;

    public String getCreateTimeStr() {
        return DateTool.date2String(createTime, "yyyy-MM-dd HH:mm:ss");
    }

}
